
#include "ControllerFactory.h"


using namespace cgGame;


CControllerFactory::CControllerFactory()
{

}



CControllerFactory::~CControllerFactory()
{

}



CController* CControllerFactory::CreateController(Character_Type charType)
{
	switch (charType)
	{
	case Character_Type_Null:
		return NULL;
		break;
	case Character_Type_Hunter:
		return  new CControllerHunter();
		break;
	case Character_Type_Animal_Normal:
		return new CControllerAnimal();
		break;
	case Character_Type_Animal_Eat:
		return new CControllerAnimal();
		break;
	case Character_Type_Animal_Fast:
		return new CControllerAnimal();
		break;
	case Character_Type_Animal_Big:
		return new CControllerAnimal();
		break;
	case Character_Type_Bullet:
		return new CControllerBullet();
		break;
	default:
		return new CControllerAnimal();
		break;
	}
}